<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui" >
    <f:view>

        <ui:composition template="/template/templateAdm.xhtml">
            <ui:define name="conteudo">
                <p:growl id="msg"/>
                <h:form id="form">
                    <div  class="left2p span-390 floatLeft">
                        <p:panel header="Cadastro e alteração de Cidade">
                            <ui:include src="form.xhtml"/>
                            <p align="center" class="margemBottont10">
                                <p:commandButton id="btnNovo" ajax="false" action="#{categoriaController.service.save(categoriaController.categoria)}" value="Salvar" update="Select msg" />
                            </p>
                        </p:panel>
                    </div>
                </h:form>
                <h:form id="Select">
                    <div class="span-10 marginLeft70">
                            <div align="center">
                                <ui:include src="grid.xhtml"/>
                            </div>
                    </div>
                </h:form>
            </ui:define>
        </ui:composition>
    </f:view>

</html>

